package com.hsnn.medstgmini.base.dict.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 专家类型字典
 * @author wangbing@njhsnn
 * 2015年6月9日
 */
@Entity
@Table(name="dic_experttype")
public class DicExperttype implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String dicExperttypeId;//专家类型id
	private String expertTypeCode;//专家类型编码
	private String expertTypeName;//专家类型名称
	private String fatherExperttypeId;//fatherId
	private String status;//状态
	private String remark;//备注
	private String updDatetime;//更新时间
	private String updUser;//更新人
	
	/** default constructor */
	public DicExperttype() {
		super();
	}
	
	/** full constructor */
	public DicExperttype(String expertTypeName, String fatherExperttypeId,
			String expertTypeCode, String dicExperttypeId, String updDatetime,
			String status, String updUser, String remark) {
		super();
		this.expertTypeName = expertTypeName;
		this.fatherExperttypeId = fatherExperttypeId;
		this.expertTypeCode = expertTypeCode;
		this.dicExperttypeId = dicExperttypeId;
		this.updDatetime = updDatetime;
		this.status = status;
		this.updUser = updUser;
		this.remark = remark;
	}
	
	@Id
	@GenericGenerator(name="generator", strategy="uuid")
    @GeneratedValue(generator="generator")
	@Column(name="dic_experttype_id", unique=true, nullable=false, length=36)
	public String getDicExperttypeId() {
		return dicExperttypeId;
	}

	public void setDicExperttypeId(String dicExperttypeId) {
		this.dicExperttypeId = dicExperttypeId;
	}
	
	@Column(name="expert_type_code",  length=100)
	public String getExpertTypeCode() {
		return expertTypeCode;
	}

	public void setExpertTypeCode(String expertTypeCode) {
		this.expertTypeCode = expertTypeCode;
	}
	
	@Column(name="expert_type_name",  length=128)
	public String getExpertTypeName() {
		return expertTypeName;
	}

	public void setExpertTypeName(String expertTypeName) {
		this.expertTypeName = expertTypeName;
	}
	
	@Column(name="father_experttype_id",  length=36)
	public String getFatherExperttypeId() {
		return fatherExperttypeId;
	}

	public void setFatherExperttypeId(String fatherExperttypeId) {
		this.fatherExperttypeId = fatherExperttypeId;
	}
	
	@Column(name="status")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@Column(name="remark",  length=4000)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Column(name="upd_datetime")
	public String getUpdDatetime() {
		return updDatetime;
	}

	public void setUpdDatetime(String updDatetime) {
		this.updDatetime = updDatetime;
	}
	
	@Column(name="upd_user",  length=36)
	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}
	

}
